<script>
export default {
  name: "base",
  data() {
    return {
      pageInfo: {
        current_page: 1,
        page_size: 10,
        total: 0,
      },
    };
  },
  methods: {
    handleCurrentChange(current) {
      this.pageInfo.page = current;
      this.getList();
    },
    handleSizeChange(val) {
      this.pageInfo.page_size = val;
      this.getList();
    },
  },
};
</script>
<style lang="less" scoped></style>
